<div id="test-children" class="test-parent">
    <p id="test-next"><a>1</a></p>
    <p class="test-next-p"><a class="test-a">2</a></p>
    <p class="test-next"><a id="test-parent3">3</a></p>
    <p class="test-p" id="test-prev"><em class="test-em">
        <span><a id="test-parent4">4</a></span></em></p>
    <div id="test-contains">text node</div>
    <div>
        <div id="test-nested">
        </div>
    </div>
</div>